[第二週] 變數的型態


可分為

  • Primitive
    • 布林 (boolean): true, false
    • 數字 (number) : 所有數字,包含小數
    • 字串 (string) :用雙引號或單引號包起來
  • 物件 (Objects) : null, array
  • 未定義 (undefined)
  • 函式 (function)

#variable






你可能感興趣的文章

DAY38:Duplicate Encoder

DAY38:Duplicate Encoder

Command Line 基本指令

Command Line 基本指令

同步(Sync)& 非同步(Async) 、回呼(Callback)、Promise + then() + catch()、async + await + try + catch

同步(Sync)& 非同步(Async) 、回呼(Callback)、Promise + then() + catch()、async + await + try + catch






留言討論